package main;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import view.GuiBuilder;
import controller.Controller;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}

		Controller.getInstance().setGuiBuilder(new GuiBuilder());
		Controller.getInstance().getGuiBuilder().ini();



	}

}
